package com.xuz.observer.example01;


/**
 * 抽象目标类
 * @user 65453
 * @date 2024/10/16 21:37
 */
public interface Subject {
    void attach(Observer observer);
    void detach(Observer observer);
    void notifyObservers();
}
